{"version":3,"sources":["script.js"],"names":["initFilterConditionsControl","params","data","JSON","parse","window","propertyID","FilterConditionsParameterControl","rand","BX","util","getRandomString","this","message","propertyParams","JS_MESSAGES","nodes","ids","form","container","treeObject","path","getPath","buildNodes","addCustomEvent","proxy","modifyTreeParams","onChangeForm","ajax","timeout","method","dataType","url","action","condition","oInput","value","sessid","bitrix_sessid","onsuccess","saveDataAfterInit","prototype","JS_FILE","split","pop","join","deleteFromArray","keys","array","type","isArray","i","length","hasOwnProperty","in_array","splice","fireEvent","arParams","obTree","obControls","control","keysToDelete","group","modifyCondGroup","modifyCondValueGroup","push","ctrl","k","visual","values","True","logic","dontShowFirstOption","id","False","children","propertyPrefix","allowedFields","del","current","name","controlId","iblockId","offersIblockId","filter","val","warning","create","props","className","text","invalid","style","display","color","events","change","saveData","oCont","appendChild","setTimeout","systemData","merge","getAllFormData","result","stringify","prepared","prepareForm"],"mappings":"AAAA,SAASA,4BAA4BC,GAEpC,IAAIC,EAAOC,KAAKC,MAAMH,EAAOC,MAC7B,GAAIA,EACJ,CACCG,OAAO,qBAAuBJ,EAAOK,YAAc,IAAIC,iCAAiCL,EAAMD,IAIhG,SAASM,iCAAiCL,EAAMD,GAE/C,IAAIO,EAAOC,GAAGC,KAAKC,gBAAgB,GAEnCC,KAAKX,OAASA,MACdW,KAAKC,QAAUV,KAAKC,MAAMH,EAAOa,eAAeC,iBAChDH,KAAKV,KAAOA,MACZU,KAAKI,SACLJ,KAAKK,KACJC,KAAM,mBAAqBN,KAAKX,OAAOK,WAAa,IAAME,EAC1DW,UAAW,wBAA0BP,KAAKX,OAAOK,WAAa,IAAME,EACpEY,WAAY,kBAAoBR,KAAKX,OAAOK,WAAa,IAAME,GAEhEI,KAAKS,KAAOT,KAAKU,UAEjBV,KAAKW,aAELd,GAAGe,eAAe,uBAAwBf,GAAGgB,MAAMb,KAAKc,iBAAkBd,OAC1EH,GAAGe,eAAe,yBAA0Bf,GAAGgB,MAAMb,KAAKe,aAAcf,OACxEH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